package com.gc.server.service;

import com.gc.server.entity.LinkHeadEntity;
import com.gc.server.vo.LinkHeadVo;
import com.yf.service.BaseService;

import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;

/**
 * 连锁总部Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Oct 22 15:40:31 CST 2020
 */
public interface LinkHeadService extends BaseService<LinkHeadEntity> {

    /************自动生成**************/
    List<LinkHeadVo> findVo(LinkHeadVo vo);

        LinkHeadVo getVo(Long id);

     int updateVo(LinkHeadVo vo);

       int saveVo(LinkHeadVo vo);

    void downLoad(HttpServletResponse response, List<LinkHeadVo> list);


    void upload(InputStream file);

    /***********BACK***********/




    /***********API***********/

    List<LinkHeadEntity> findByUserId(Long userId);

    LinkHeadEntity findByCode(String code);


}
